package cn.apthink.schedule;

import java.util.ArrayList;
import java.util.List;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Efficiency {
	private String departmentId;
	private String productId;
	private Integer amount;
	private Double efficiency;
	
	public static List<Efficiency> testDatas() {
		List<Efficiency> ls = new ArrayList<Efficiency>();
		ls.add(new Efficiency("l3","p1",0,0.75));
		ls.add(new Efficiency("l1","p1",0,0.7));
		ls.add(new Efficiency("l1","p1",1000,0.8));
		ls.add(new Efficiency("l1","p1",5000,0.9));
		ls.add(new Efficiency("factory","p",0,0.75));
		ls.add(new Efficiency("factory","p",1000,0.85));
		ls.add(new Efficiency("factory","p",5000,0.95));
		return ls;
	}

}
